﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CISProgClass
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Testing codeplax"); // Testing codeplax check in site
            Console.WriteLine("chr 65 = {0}", (char)65);
            string userName = "Jon Doe";
            char letter = 'A';
            int wholeNumber = 23;
            double num = 3.141592654;
            Console.WriteLine("Name: {0}, Middle Name: {1}, Age: {2}, Food: {3:C4}", userName, letter, wholeNumber, num);
            Console.WriteLine("State your NEW Name for the Program");
            userName = Console.ReadLine();
            Console.WriteLine("The userName string has been changed to {0}", userName);
            Console.WriteLine("Change the wholeNumber value");
            while (!int.TryParse(Console.ReadLine(), out wholeNumber))
                Console.WriteLine("Error, you must do some reading fckface");
            Console.WriteLine("You have changed the variable wholeNumber to an Integer 32 with the value of {0}", wholeNumber);
            Console.WriteLine("HOMEWORK STARTS HERE - Create User Interaction");
            string uName, uAddress, uSex; //create strings on 1 line for latter use on the code
            Console.WriteLine("State your Name for this homework:");
            uName = Console.ReadLine(); //provide a value for uName
            Console.WriteLine("Provide your Address:");
            uAddress = Console.ReadLine(); //provide a value for uAddress
            Console.WriteLine("Thank you, now Please provide your Gender:");
            uSex = Console.ReadLine(); //provide value for uSex
            Console.WriteLine("And Finally your Age:");
            int uAge = 0; //Will change
            while (!int.TryParse(Console.ReadLine(), out uAge)) //while that will not end unless the provided number is valid
                Console.WriteLine("You have not provided a valid age Value, please state your Age");
            Console.WriteLine("Thank you {0}, \n The information you have provided is: \n Name: {0} \n Age: {1} \n Adress: {2} \n Gender: {3}", uName, uAge, uAddress, uSex);
            Console.WriteLine("Now finally please provide your value for Pi");
            string uPi = Console.ReadLine();
            Console.WriteLine("You have stated {0} as the value of Pi, if your answer is close to \n 3.14, 3.1516, 3.14159, \n consider your answer as correct", uPi);
            Console.WriteLine(args.Length);
        } //End Main
    } //End Program
}